package me.luger.project.fof.entity;


import me.luger.core.dao.nutz.entity.BaseEntity;
import org.nutz.dao.entity.annotation.*;
import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;

@Table("fof_company")
public class Company extends BaseEntity implements Serializable{
private static final long serialVersionUID=1L;


    /**
     * 
     */
    @Id
    @Column("id")
    @Comment("")
    @ColDefine(type = ColType.INT, width = 10)
    private Integer id;
    /**
     * 公司名
     */
    @Column("name")
    @Comment("公司名")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String name;
    /**
     * 公司地址
     */
    @Column("adress")
    @Comment("公司地址")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String adress;

    public void setId(Integer id){
        this.id=id;
    }
    public Integer getId(){
        return this.id;
    }

    public void setName(String name){
        this.name=name;
    }
    public String getName(){
        return this.name;
    }

    public void setAdress(String adress){
        this.adress=adress;
    }
    public String getAdress(){
        return this.adress;
    }


}